<%@ Page language="c#" MasterPageFile="~/SF/Forms/SF.Master" Codebehind="Process.aspx.cs" AutoEventWireup="True" Inherits="ScenarioFramework.Portal.SF.Reports.Process" %>
<%@ MasterType TypeName="ScenarioFramework.Portal.SF.Forms.SF"  %>

<%@ Register TagPrefix="cc1" Namespace="UNLV.IAP.WebControls" Assembly="SqlWhereBuilder" %>

<script runat="server">
    protected void Page_Load(object sender, System.EventArgs e) 
    {
        Master.TabName = "BAM";
        Master.SubTabName = "Processi";
    }
</script>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderLateral" runat="server">
    <UL>
        <asp:placeholder id="placeholderQuery" runat="server"></asp:placeholder>
    </UL>
    
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%">
					<TBODY>
						<tr vAlign="top">
							<td vAlign="top" align="left"><cc1:sqlwherebuilder id="SqlWhereBuilder1" 
                                    runat="server" ConditionCellStyle="border: 1px solid #CCCCCC; padding:2px; background-color: #FFFFFF;"
									NoConditionsText="" ValueEntryFile="config_process/valueEntryDivs.config" OperatorListsFile="config_process/operatorLists.config"
									FieldsFile="config_process/process_fields.config" ClientCodeLocation="/scripts/SqlWhereBuilder.js"></cc1:sqlwherebuilder><br>
								<asp:button id="btnFilter" runat="server" Text="Visualizza" onclick="btnFilter_Click"></asp:button></td>
						</tr>
						<tr vAlign="top">
							<td vAlign="top" colSpan="2"><asp:datagrid id="gridDocuments" runat="server" 
                                    Height="100%" Font-Size="XX-Small"
									CellPadding="4" Width="100%" AllowPaging="True" AllowSorting="True" ForeColor="#333333" 
                                    GridLines="None" PageSize="40" ShowFooter="True">
									<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                    <EditItemStyle BackColor="#999999" />
                                    <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
									<AlternatingItemStyle CssClass="gridAlternative"></AlternatingItemStyle>
									<ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
									<HeaderStyle BorderWidth="1px" BorderStyle="Outset" BackColor="SkyBlue"></HeaderStyle>
								</asp:datagrid></td>
						</tr>
					</TBODY>
				</table>
</asp:Content>
